<template>
  <div class="">
       <Myhead></Myhead>

    <div class="dv1"></div>
    <div class="conter">
      <img src="banner.jpg" alt="" />
      <div class="dv2">
        <p>699全包精装套餐</p>
        <div class="dv3">价格:<span class="sp1">￥699/m²</span></div>
        <div class="dv3">已预约:<span class="sp2">221套</span></div>
        <div class="dv3">
          正式发售:<span class="sp1">全国套餐火爆预约中</span>
        </div>
      </div>
    </div>
    <div class="dv4">
      精装全包套餐,包设计/包主材/包施工/包监理.采用知名辅材,一线主材,工厂直供F2c模式
    </div>
    <div class="dv1"></div>
    <div class="dv5">
      <ul>
        <li
          v-for="(item, index) in list1"
          :key="index"
          :class="index === flag1 ? 'active' : ''"
          @click="flag1 = index"
        >
          {{ item }}
        </li>
      </ul>
    </div>
    <div class="dv6" v-show="flag1 === 0">
      <img src="111.png" alt="" />
      <img src="222.png" alt="" />
    </div>
    <div class="dv7" v-show="flag1 === 1">
      <div class="dv8">
        <ul>
          <li
            v-for="(item, index) in list"
            :key="index"
            :class="index === flag ? 'active' : ''"
            @click="flag = index"
          >
            {{ item }}
          </li>
        </ul>
        <table border="1" cellspacing="0">
          <thead>
            <tr class="tr1">
              <td style="width: 30%">项目</td>
              <td style="width: 30%">品牌</td>
              <td style="width: 60%">详细说明</td>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>地柜</td>
              <td>订制橱柜</td>
              <td>3延米以内</td>
            </tr>
            <tr>
              <td>吊柜</td>
              <td>定制橱柜</td>
              <td>1.2延米内、阻尼抽屉2个(单色石英石台面)</td>
            </tr>
            <tr>
              <td>台面</td>
              <td>石英石</td>
              <td>3延米以内</td>
            </tr>
            <tr>
              <td>套装门/移门及五金</td>
              <td>樱花</td>
              <td>
                含门以及门安装、三维可调式合页、门锁、门吸，厨房空间提供—〉门，平面和插框造型,仅限原始户型空间配门。若为移门，只限3平方米。
              </td>
            </tr>
            <tr>
              <td>门套</td>
              <td>双诺</td>
              <td>定制</td>
            </tr>
            <tr>
              <td>小地砖</td>
              <td>马可波罗瓷砖</td>
              <td>地砖满铺</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div class="dv1">
    <Myfoot></Myfoot>

    </div>
  </div>
</template>

<script>
import Myhead from '@/components/Myhead'
import Myfoot from '@/components/Myfoot'
export default {
  data() {
    return {
      list: ["厨房", "卫生间", "阳台", "厨房/客房/书房", "客厅"],
      list1: ["套餐详情", "配置清单", "施工工艺", "服务流程"],
      flag: 0,
      flag1: 0,
    };
  },
  mounted() {},
  methods: {},
  components: {
     Myhead,
    Myfoot
  },
};
</script>

<style lang='scss' scoped>
* {
  margin: 0;
  padding: 0;
}
.dv1 {
  width: 100%;
  height: 10px;
  background-color: #f4f4f4;
}
.conter {
  width: 98%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  img {
    width: 150px;
    height: 100px;
    margin-top: 10px;
  }
  .dv2 {
    width: 100%;
    p {
      margin: 10px 10px;
      font-size: 18px;
    }
    .dv3 {
      font-size: 13px;
      color: #bfbfbf;
      margin: 0 10px;
      margin-bottom: 5px;
      .sp1 {
        color: #d00;
        margin-left: 10px;
      }
      .sp2 {
        color: black;
        margin-left: 10px;
      }
    }
  }
}
.dv4 {
  text-align: left;
  font-size: 13px;
  padding-top: 5px;
  margin: 0 5px;
  margin-bottom: 10px;
}
.dv5 {
  width: 100%;
  height: 100%;
  ul {
    width: 100%;
    height: 50px;
    line-height: 50px;
    display: flex;
    justify-content: space-around;
    li {
      flex-basis: 25%;
      text-align: center;
    }
    li:hover {
      border-bottom: 2px solid #35c892;
    }
  }
}
.dv6 {
  width: 100%;
  img {
    width: 100%;
  }
}
.dv7 {
  width: 100%;
  .dv8 {
    width: 100%;
    ul {
      width: 100%;
      display: flex;
      justify-content: space-around;
      overflow: hidden;

      li {
        width: 60px;
        height: 30px;
        border: 1px solid #35c892;
        line-height: 30px;
        border-radius: 15px;
        text-align: center;
        // margin-left: 5px;
        margin: 10px 5px;
      }
      li:nth-child(4) {
        width: 150px;
      }
      .active {
        background-color: #39c893;
        color: #fff;
      }
    }
  }
}
table {
  font-size: 13px;
  color: #bfbfbf;
  border: 1px solid #ccc;
  .tr1 {
    color: #35c892;
  }
  td {
    height: 30px;
  }
}
</style>
